package com.atm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("账户信息")
@Data
public class Account {

    @TableId(type = IdType.INPUT)
    private String accountNo;//卡号
    private String password;//卡密码
    @ApiModelProperty("余额")
    private Long remainAmount;//余额
    @ApiModelProperty("最近操作时间")
    private Date lastTime;//最近操作时间

}
